﻿using System.ComponentModel;
using System.Runtime.CompilerServices;

namespace MVVMExample;

public class BaseObservableObject : INotifyPropertyChanged
{
    public event PropertyChangedEventHandler? PropertyChanged;

    protected void OnPropertyChanged([CallerMemberName]string _property_name = "")
    {
        PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(_property_name));
    }
}
